body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1 {
    color: #333;
    text-align: center;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.stat-card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    flex: 1;
    margin: 5px;
    min-width: 150px;
}
.stat-card.debug { border-left: 4px solid #6c757d; }
.stat-card.info { border-left: 4px solid #17a2b8; }
.stat-card.warning { border-left: 4px solid #ffc107; }
.stat-card.error { border-left: 4px solid #dc3545; }
.stat-card.critical { border-left: 4px solid #dc3545; font-weight: bold; }

.stat-number {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}
.stat-label {
    font-size: 14px;
    color: #6c757d;
}
.controls {
    margin: 20px 0;
    text-align: center;
}
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
}
button:hover {
    background-color: #0056b3;
}
button.reset {
    background-color: #dc3545;
}
button.reset:hover {
    background-color: #c82333;
}
button.danger {
    background-color: #dc3545;
}
button.danger:hover {
    background-color: #c82333;
}
.logger-list {
    margin-top: 20px;
}
.logger-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #fafafa;
}
.logger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.logger-name {
    font-weight: bold;
    font-size: 16px;
}
.logger-controls {
    display: flex;
    gap: 10px;
}
select, input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.logger-details {
    font-size: 14px;
    color: #666;
}
.hidden {
    display: none;
}
.search-box {
    margin-bottom: 20px;
}
.search-box input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 5px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 5px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.handler-list {
    margin-top: 10px;
}

.handler-item {
    background-color: #e9ecef;
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
}
